An Efficient Bundle Replacement Algorithm for OSGi Platform

نویسنده

  • Ibrahim Kamel
چکیده

OSGi is a middleware standard for home gateways, designed for smart home applications. OSGi models services as separate components, called bundles. Smart home applications might differ in their importance. For example, home security system is more important than Internet game. Bundles collaborate to provide the required service. This paper proposes a bundle replacement algorithm that takes into account the priority of the bundle and the interdependence between different bundles. Thus, given a home gateway that hosts several applications with different priorities and arbitrary dependencies among them. When the home gateway runs out of memory, which bundles will be stopped or kicked out of memory to start a new service. Because of the bundle dependencies, traditional memory management algorithms might not be efficient. Efficient replacement algorithm should stop the least important and a small number of bundles. The proposed algorithm takes into consideration the priority of the bundle or application and dependencies between different bundles, in addition to the amount of memory occupied by each service. We implement the proposed algorithms and performed many experiments to evaluate its performance and execution time. We used best fit and worst fit as yardstick to show the effectiveness of the proposed algorithms. The proposed algorithms are implemented as a part of the OSGi framework (Open Service Gateway initiative).

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Security-by-Contract for the OSGi Platform

The natural business model of OSGi is dynamic loading and removal of bundles or services on an OSGi platform. If bundles can come from different stakeholders, how do we make sure that one’s services will only be invoked by the authorized bundles? A simple solution is to interweave functional and security logic within each bundle, but this decreases the benefits of using a common platform for se...

متن کامل

Standardization Activity of OSGi ( Open Services Gateway Initiative ) Global Standardization Activities

This article provides an overview of OSGi (open services gateway initiative) standardization activities for software technology that is applicable to gateways that control and manage, in a coordinated fashion, various services and devices connected to networks in homes, offices, vehicles, and factories. The OSGi architecture allows for the timely provision of various new network-based services,...

متن کامل

Fault Tolerance in the OSGi Service Platform

The OSGi Service Platform defines a framework for the deployment of extensible and downloadable Java applications. The framework introduces a management unit, called a bundle, that can be installed, updated, uninstalled, started or stopped without restarting the entire framework. Bundles provide opportunities for increasing the dependability of OSGi based applications in a modular way. This rep...

متن کامل

Secure Component Deployment in the OSGi(tm) Release 4 Platform

Last years have seen a dramatic increase in the use of component platforms, not only in classical application servers, but also more and more in the domain of Embedded Systems. The OSGi(tm) platform is one of these platforms dedicated to lightweight execution environments, and one of the most prominent. However, new platforms also imply new security flaws, and a lack of both knowledge and tools...

متن کامل

FROGi : Deploiement de composants Fractal sur OSGi

This paper presents FROGi, a proposal to introduce the Fractal component model into the OSGi services platform. There are two motivations for this work. The first one is to offer a flexible component model to the OSGi developers to simplify bundle development. Bundles developed with FROGi are nevertheless compatible with standard bundles. The second motivation is to leverage OSGi’s deployment c...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010